package java8;

/**
 * @author lzy
 * Create DateTime: 2018/7/18 11:32
 * @version v1.0
 */
public class FilterEmployeeByAge implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getAge() >= 35;
    }
}
